package com.bxj.wxtt.dubbo;

import com.bxj.wxtt.api.domain.Task;
import com.bxj.wxtt.api.service.ITaskDubboService;
import com.bxj.wxtt.service.TaskService;
import com.ifeng.matrix.common.domain.PageResult;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;

/**
 * 由MyBatis Generator工具自动生成 2018-07-18 19:49:05
 */
@Component("taskDubboService")
public class TaskDubboServiceImpl implements ITaskDubboService {
    @Resource
    TaskService taskService;

    public Task selectById(Integer id) {
        return taskService.selectById(id);
    }

    public List<Task> getTaskList(Task task) {
        return taskService.getTaskList(task);
    }

    public PageResult<Task> getTaskPage(Task task) {
        return taskService.getTaskPage(task);
    }

    public int insert(Task task) {
        int ret = taskService.insert(task);
        return ret;
    }

    public int updateTaskById(Task task) {
        return taskService.updateTaskById(task);
    }
}